package cn.yr.blog.api;

import cn.yr.common.core.constant.ServiceNameConstants;
import cn.yr.common.core.domain.dto.YrArticleTagDto;
import cn.yr.common.core.domain.vo.PageVo;
import cn.yr.common.exception.ret.Ret;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "ArticleApi" , value = ServiceNameConstants.SERVICE_BLOG)
public interface ArticleApi {

    @PostMapping("/web/article/pageArticle")
    Ret<PageVo<YrArticleTagDto>> pageArticle(@RequestBody PageVo<YrArticleTagDto> pageVo);
}
